/**
 * 
 */
package nl.cybersnippet.comparator;

/**
 * Class of type {@link Comparable} for testing purposes.
 * 
 * @author haiko
 *
 */
public class Foo implements Comparable<Foo> {
	
	private int number;
	
	public Foo(int i){
		number = i;
	}

	public int compareTo(Foo o) {
		return new Integer(number).compareTo(o.number);
	}
	
	/**
	 * @return the number
	 */
	public int getNumber() {
		return number;
	}

	/**
	 * @param number the number to set
	 */
	public void setNumber(int number) {
		this.number = number;
	}

}
